package com.ixuestar.controller;

import java.text.ParseException;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import com.ixuestar.entity.Billbase;
import com.ixuestar.service.YonyouService;

@ResponseBody
@RestController
@RequestMapping(value = "/yonyou",method = RequestMethod.POST)
public class YonyouutilController {

	@Autowired
	YonyouService yonyoudto;
	
	@RequestMapping(value = "/aa")
	public List<Billbase> getTest() throws ParseException {
		return yonyoudto.getList();
	}
}
